|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.FormElement
org.eclipse.vtp.framework.interactions.voice.vxml.Recording
public class Recording
The Recording class represents the <record> VXML
element.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Recording(java.lang.String name)
Creates a new instance of a Recording element. |
|
Recording(java.lang.String name,
java.lang.String expression)
Creates a new instance of a Recording element. |
|
Recording(java.lang.String name,
java.lang.String expression,
java.lang.String condition)
Creates a new instance of a Recording element. |
|
| Method Summary | |
|---|---|
void |
addEventHandler(EventHandler eventHandler)
Adds the specified event handler to this recording. |
void |
addFilledHandler(Filled filled)
Adds the specified filled handler to this recording. |
void |
clearProperty(java.lang.String propertyName)
Clears the value of a property in this recording. |
java.lang.String |
getFileType()
Returns the file type setting. |
java.lang.String |
getFinalSilence()
Returns the final silence setting. |
java.lang.String |
getMaxtime()
Returns the maximum recording time setting. |
Prompt |
getPrompt()
Returns the opening prompt played to the caller. |
java.lang.String[] |
getPropertyNames()
Returns the names of the properties of this recording. |
java.lang.String |
getPropertyValue(java.lang.String propertyName)
Returns the value of the specified property or null if no
such property exists. |
java.lang.String |
getTimeout()
Returns the time out of the opening prompt. |
boolean |
isBeepEnabled()
Returns the beep toggle setting. |
boolean |
isDtmfTermEnabled()
Returns the DTMF toggle setting. |
void |
removeEventHandler(EventHandler eventHandler)
Removes the specified event handler from this recording. |
void |
removeFilledHandler(Filled filled)
Removes the specified filled handler from this recording. |
void |
setBeepEnabled(boolean beepEnabled)
Sets the beep toggle setting. |
void |
setDtmfTermEnabled(boolean dtmfTermEnabled)
Sets the DTMF toggle setting. |
void |
setFileType(java.lang.String fileType)
Sets the file type setting. |
void |
setFinalSilence(java.lang.String finalSilence)
Sets the final silence setting. |
void |
setMaxtime(java.lang.String maxtime)
Sets the maximum recording time setting. |
void |
setPrompt(Prompt prompt)
Sets the opening prompt played to the caller. |
void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Sets the value of a property in this recording. |
void |
setTimeout(java.lang.String timeout)
Sets the time out of the opening prompt. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this form element to the supplied set. |
protected void |
writeEventHandlers(org.xml.sax.ContentHandler outputHandler)
Write the event handlers of this field to the specified content handler. |
protected void |
writeFilledHandlers(org.xml.sax.ContentHandler outputHandler)
Write the filled handlers of this field to the specified content handler. |
protected void |
writePrompt(org.xml.sax.ContentHandler outputHandler)
Writes this field's prompt to the specified content handler. |
protected void |
writeProperties(org.xml.sax.ContentHandler outputHandler)
Writes the properties of this field to the specified content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.voice.vxml.FormElement |
|---|
getCondition, getExpression, getName, setCondition, setExpression, setName |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Recording(java.lang.String name)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Recording element.
name - The name of the recording element.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.NullPointerException - If the specified name is null.
public Recording(java.lang.String name,
java.lang.String expression)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Recording element.
name - The name of the recording element.expression - An expression that will set the initial value of the
recording element.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.IllegalArgumentException - If the specified expression is empty.
java.lang.NullPointerException - If the specified name is null.
public Recording(java.lang.String name,
java.lang.String expression,
java.lang.String condition)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
Recording element.
name - The name of the recording element.expression - An expression that will set the initial value of the
recording element.condition - An expression that equates to a boolean value which
determines if the recording will be executed.
java.lang.IllegalArgumentException - If the specified name is empty.
java.lang.IllegalArgumentException - If the specified expression is empty.
java.lang.IllegalArgumentException - If the specified condition is empty.
java.lang.NullPointerException - If the specified name is null.| Method Detail |
|---|
public boolean isBeepEnabled()
public boolean isDtmfTermEnabled()
public java.lang.String getMaxtime()
public java.lang.String getFinalSilence()
public java.lang.String getFileType()
public java.lang.String getTimeout()
public Prompt getPrompt()
public java.lang.String[] getPropertyNames()
public java.lang.String getPropertyValue(java.lang.String propertyName)
throws java.lang.NullPointerException
null if no
such property exists.
propertyName - The name of the property to find the value of.
null if no
such property exists.
java.lang.NullPointerException - If the supplied property name is
null.public void setBeepEnabled(boolean beepEnabled)
beepEnabled - The beep toggle setting.public void setDtmfTermEnabled(boolean dtmfTermEnabled)
dtmfTermEnabled - The DTMF toggle setting.
public void setMaxtime(java.lang.String maxtime)
throws java.lang.IllegalArgumentException
maxtime - The maximum recording time setting.
java.lang.IllegalArgumentException - If the specified setting is empty.
public void setFinalSilence(java.lang.String finalSilence)
throws java.lang.IllegalArgumentException
finalSilence - The final silence setting.
java.lang.IllegalArgumentException - If the specified setting is empty.
public void setFileType(java.lang.String fileType)
throws java.lang.IllegalArgumentException
fileType - The file type setting.
java.lang.IllegalArgumentException - If the specified setting is empty.
public void setTimeout(java.lang.String timeout)
throws java.lang.IllegalArgumentException
timeout - The time out of the opening prompt.
java.lang.IllegalArgumentException - If the specified setting is empty.public void setPrompt(Prompt prompt)
prompt - The opening prompt played to the caller.
public void setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
throws java.lang.NullPointerException
propertyName - The name of the property to set.propertyValue - The value to set the property to.
java.lang.NullPointerException - If the supplied property name or value is
null.
public void clearProperty(java.lang.String propertyName)
throws java.lang.NullPointerException
propertyName - The name of the property to clear.
java.lang.NullPointerException - If the supplied property name is
null.
public void addFilledHandler(Filled filled)
throws java.lang.NullPointerException
filled - The filled handler to be added.
java.lang.NullPointerException - If the supplied filled handler is
null.
public void removeFilledHandler(Filled filled)
throws java.lang.NullPointerException
filled - The filled handler to be removed.
java.lang.NullPointerException - If the supplied filled handler is
null.
public void addEventHandler(EventHandler eventHandler)
throws java.lang.NullPointerException
eventHandler - The event handler to add.
java.lang.NullPointerException - If the supplied event handler is
null.
public void removeEventHandler(EventHandler eventHandler)
throws java.lang.NullPointerException
eventHandler - The event handler to remove.
java.lang.NullPointerException - If the supplied event handler is
null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
FormElement
writeAttributes in class FormElementattributes - The attribute set to write to.
protected void writePrompt(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The handler to write the properties to.
org.xml.sax.SAXException - If the writing of the prompt fails.
java.lang.NullPointerException - If the supplied content handler is
null.
protected void writeProperties(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The handler to write the properties to.
org.xml.sax.SAXException - If the writing of the properties fails.
java.lang.NullPointerException - If the supplied content handler is
null.
protected void writeFilledHandlers(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of one of the filled handlers fails.
protected void writeEventHandlers(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of one of the event handlers fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||